/**
 * com.cnhis.cloudhealth.base.mapper.SysParameters.java
 */
package com.cnhis.cloudhealth.clinical.infusion.base.mapper;

import com.cnhis.cloudhealth.commons.utils.BaseVO;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * @file  SysParameters.java
 * @author hedongdong
 * @version 0.1
 * @todo	SysParameters数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2016-06-13 02:22:13
 *      	Author: hedongdong
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class SysParameters extends BaseVO implements java.io.Serializable{

	private Long id;
	private Integer productid;
	private Integer programid;
	private Short privilege;
	private Integer paramno;
	private String name;
	private String value;
	private String defvalue;
	private String description;
	private Integer parentid;
	private String config;
	private String groupname;
	public SysParameters(){
	}




	public void setId(Long value) {
		this.id = value;
	}	
	public Long getId() {
		return this.id;
	}

	public void setProductid(Integer value) {
		this.productid = value;
	}	
	public Integer getProductid() {
		return this.productid;
	}

	public void setProgramid(Integer value) {
		this.programid = value;
	}	
	public Integer getProgramid() {
		return this.programid;
	}

	public void setPrivilege(Short value) {
		this.privilege = value;
	}	
	public Short getPrivilege() {
		return this.privilege;
	}

	public void setParamno(Integer value) {
		this.paramno = value;
	}	
	public Integer getParamno() {
		return this.paramno;
	}

	public void setName(String value) {
		this.name = value;
	}	
	public String getName() {
		return this.name;
	}

	public void setValue(String value) {
		this.value = value;
	}	
	public String getValue() {
		return this.value;
	}

	public void setDefvalue(String value) {
		this.defvalue = value;
	}	
	public String getDefvalue() {
		return this.defvalue;
	}

	public void setDescription(String value) {
		this.description = value;
	}	
	public String getDescription() {
		return this.description;
	}

	public void setParentid(Integer value) {
		this.parentid = value;
	}	
	public Integer getParentid() {
		return this.parentid;
	}

	public void setConfig(String value) {
		this.config = value;
	}	
	public String getConfig() {
		return this.config;
	}

	public void setGroupname(String value) {
		this.groupname = value;
	}	
	public String getGroupname() {
		return this.groupname;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Id").append("='").append(getId()).append("' ");	
			   buffer.append("Productid").append("='").append(getProductid()).append("' ");	
			   buffer.append("Programid").append("='").append(getProgramid()).append("' ");	
			   buffer.append("Privilege").append("='").append(getPrivilege()).append("' ");	
			   buffer.append("Paramno").append("='").append(getParamno()).append("' ");	
			   buffer.append("Name").append("='").append(getName()).append("' ");	
			   buffer.append("Value").append("='").append(getValue()).append("' ");	
			   buffer.append("Defvalue").append("='").append(getDefvalue()).append("' ");	
			   buffer.append("Description").append("='").append(getDescription()).append("' ");	
			   buffer.append("Parentid").append("='").append(getParentid()).append("' ");	
			   buffer.append("Config").append("='").append(getConfig()).append("' ");	
			   buffer.append("Groupname").append("='").append(getGroupname()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		



	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getId() == null ? 0 : this.getId().hashCode() );
				  result = 37 * result + (getProductid() == null ? 0 : this.getProductid().hashCode() );
				  result = 37 * result + (getProgramid() == null ? 0 : this.getProgramid().hashCode() );
				  result = 37 * result + (getPrivilege() == null ? 0 : this.getPrivilege().hashCode() );
				  result = 37 * result + (getParamno() == null ? 0 : this.getParamno().hashCode() );
				  result = 37 * result + (getName() == null ? 0 : this.getName().hashCode() );
				  result = 37 * result + (getValue() == null ? 0 : this.getValue().hashCode() );
				  result = 37 * result + (getDefvalue() == null ? 0 : this.getDefvalue().hashCode() );
				  result = 37 * result + (getDescription() == null ? 0 : this.getDescription().hashCode() );
				  result = 37 * result + (getParentid() == null ? 0 : this.getParentid().hashCode() );
				  result = 37 * result + (getConfig() == null ? 0 : this.getConfig().hashCode() );
				  result = 37 * result + (getGroupname() == null ? 0 : this.getGroupname().hashCode() );
         return result;
	} 
	
}
